import time

from selenium import webdriver
from selenium.webdriver.common.by import By

import unittest
class A3mall(unittest.TestCase):
      def setUp(self):
          self.driver=webdriver.Edge()
          self.driver.get("http://10.59.9.12:7001/")
      def tearDown(self):
          self.driver.quit()
          time.sleep(10)
      def test_01_login(self):
          self.driver.find_element(By.LINK_TEXT,'登录').click()
          self.driver.find_element(By.NAME,'').send_keys("13485456209")
          self.driver.find_element(By.NAME,'password').send_keys("1234555uuu")
          time.sleep(10)
          self.driver.find_element(By.CLASS_NAME,'finish-btn')


